package com.ygq.train.business.controller;

import com.alibaba.csp.sentinel.annotation.SentinelResource;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class TestController {

    @SentinelResource("/test")
    @GetMapping("/test")
    public String TestApi(){
        return "Hello,World(Business - Test)";
    }
}
